// 配置路由规则
import VueRouter from 'vue-router'
import advList from '../pages/advList'
import Display from '../components/Display'


// 创建并暴露一个路由器

export default new VueRouter ({
    routes:[
        {
            path:'/'
        },
        {
            name:'guanggao',
            path:'/one',
            component: Display,
            children:[

            ]
        },
        {
            path:'/two',
            component: List,
        }
    ]
})